﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Microhard.Permission.MVCFilter
{
    public class CommonActionFilter : IActionDataFilter
    {
        #region IActionDataFilter Members

        public Guid PKID
        {
            set;
            get;
        }

        public bool FilterAction(System.Web.Mvc.ActionExecutingContext filterContext, Models.User currentUser, List<Models.Permission> currentPermissions, Core.DBUtility.ScopeResult dataScope)
        {
            return true;
        }

        #endregion

        public bool IsAdminAction
        {
            set;
            get;
        }
    }
}
